﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace Interface
{
    public class board
    {
        [XmlAttribute("creation_date")]
        public String creation_date;
        [XmlAttribute("name")]
        public String name;
        [XmlAttribute("owner")]
        public String owner;
        [XmlAttribute("invitee")]
        public String invitee;
        [XmlAttribute("status")]
        public String status;
        [XmlAttribute("url")]
        public String url;
    }

    public class BoardToPlay
    {

        public List<move> moves;
        public Name name;
        public Creation_date creation_date;
        public Owner owner;
        public Invitee invitee;
        public Status status;
        public Size size;
        public Owner_white owner_white;

        public BoardToPlay()
        {
            name = new Name();
            creation_date= new Creation_date();
            owner = new Owner();
            invitee = new Invitee();
            status = new Status();
            size = new Size();
            owner_white = new Owner_white();

        }
    }

    public class Creation_date
    {
        [XmlAttribute("value")]
        public String val;
    }

    public class Status
    {
        [XmlAttribute("value")]
        public String val;
    }
}
